﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BackOfficeAssistance.BizObj
{
    public class BizSubFolder
    {
        public string relatedId { get; set; }
        public string tagVersion { get; set; }
        public string subFolderType { get; set; }
        public string drive { get; set; }
        public string subFolderName { get; set; }
        public string subFolderPath { get; set; }
        public string status { get; set; }
        public bool isUpdate { get; set; }
        public string targetFileID { get; set; }
        public bool enableAutoUpdate { get; set; }
        public bool enableAutoCompile { get; set; }
        public DateTime lastUpdateTime { get; set; }
        public DateTime lastCompileTime { get; set; }
        public DateTime lastSuccessfulBuildTime { get; set; }
        public bool enableAutoBuild { get; set; }
        public string ID { get; set; }
        public string projectName { get; set; }

        public BizSubFolder()
        { 
        }

        public BizSubFolder(string relatedId, string tagVersion, string subFolderType, string drive, string subFolderName,
            string subFolderPath, string status, bool isUpdate, string targetFileID, bool enableAutoUpdate, bool enableAutoCompile, 
                DateTime lastUpdateTime, DateTime lastCompileTime, DateTime lastSuccessfulBuildTime, bool enableAutoBuild,
                    string ID, string projectName)
        {
            this.relatedId = relatedId;
            this.tagVersion = tagVersion;
            this.subFolderType = subFolderType;
            this.drive = drive;
            this.subFolderName = subFolderName;
            this.subFolderPath = subFolderPath;
            this.status = status;
            this.isUpdate = isUpdate;
            this.targetFileID = targetFileID;
            this.enableAutoUpdate = enableAutoUpdate;
            this.enableAutoCompile = enableAutoCompile;
            this.lastUpdateTime = lastUpdateTime;
            this.lastCompileTime = lastCompileTime;
            this.lastSuccessfulBuildTime = lastSuccessfulBuildTime;
            this.enableAutoBuild = enableAutoBuild;
            this.ID = ID;
            this.projectName = projectName;
        }
    }
}
